//
//  GQDistribuerLocationController.m
//  GuQu
//
//  Created by HELIUM STAR on 15/5/13.
//  Copyright (c) 2015年 HELIUM STAR. All rights reserved.
//

#import "GQDistribuerLocationController.h"

@interface GQDistribuerLocationController () <UISearchBarDelegate>

@end

@implementation GQDistribuerLocationController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"distribute_back"] style:UIBarButtonItemStylePlain target:self action:@selector(backToPre)];
    self.title = @"搜索位置";
    [self setUpSearbar];
}

- (void)backToPre
{
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)setUpSearbar
{
    UISearchBar *searchBar = [[UISearchBar alloc] initWithFrame:CGRectMake(0, kNavigatationBarHeight, self.view.width, 44)];
    searchBar.placeholder = @"搜索附近位置";
    [self.view addSubview:searchBar];
}



@end
